{extend name="table"}
{block name="button"}
<!--{if auth("add")}-->
<button class='layui-btn layui-btn-sm layui-btn-primary' data-modal='{:url("add")}?shop_id={$shop_id}' data-title="创建商品信息">创建商品</button>
<!--{/if}-->
<!--{if auth("remove")}-->
<button data-table-id="ShopTable" data-action='{:url("remove")}' data-rule="id#{id}" data-confirm="确定要删除选中的商品吗？" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
<!--{/if}-->
{/block}
{block name="content"}
<div class="think-box-shadow">
    <table id="WarehousTable" data-url="{:sysuri()}?shop_id={$shop_id}" data-target-search="form.form-search"></table>
</div>
<script></script>
{/block}